#include <iostream>

class foo {
private:
        char *arr;
        int size;

public:
        foo();
        ~foo();
};

foo::foo()
{
        std::cout << "call " << __func__ << std::endl;
        arr = new char[6];
        size = 6;
}

foo::~foo()
{
        std::cout << "call " << __func__ << std::endl;
        delete [] arr;
}

int main()
{
        foo a;

        std::cout << "call " << __func__ << std::endl;

        return 0;
}
